<div class="smsGrades view">
<h2><?php  __('Sms Grade');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $smsGrade['SmsGrade']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Note'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $smsGrade['SmsGrade']['note']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Gpa'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $smsGrade['SmsGrade']['gpa']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Sms Users'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($smsGrade['SmsUsers']['name'], array('controller' => 'sms_users', 'action' => 'view', $smsGrade['SmsUsers']['id'])); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Sms Grade', true), array('action' => 'edit', $smsGrade['SmsGrade']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Sms Grade', true), array('action' => 'delete', $smsGrade['SmsGrade']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $smsGrade['SmsGrade']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Sms Grades', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Sms Grade', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Sms Users', true), array('controller' => 'sms_users', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Sms Users', true), array('controller' => 'sms_users', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Sms Subjects Has Sms Grades', true), array('controller' => 'sms_subjects_has_sms_grades', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Sms Subjects Ha', true), array('controller' => 'sms_subjects_has_sms_grades', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Sms Subjects Has Sms Grades');?></h3>
	<?php if (!empty($smsGrade['SmsSubjectsHa'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Sms Subjects Id'); ?></th>
		<th><?php __('Sms Grades Id'); ?></th>
		<th><?php __('Individual Assignments'); ?></th>
		<th><?php __('Group Assignment'); ?></th>
		<th><?php __('Final Example'); ?></th>
		<th><?php __('Total'); ?></th>
		<th><?php __('Completed Day'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($smsGrade['SmsSubjectsHa'] as $smsSubjectsHa):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $smsSubjectsHa['sms_subjects_id'];?></td>
			<td><?php echo $smsSubjectsHa['sms_grades_id'];?></td>
			<td><?php echo $smsSubjectsHa['individual_assignments'];?></td>
			<td><?php echo $smsSubjectsHa['group_assignment'];?></td>
			<td><?php echo $smsSubjectsHa['final_example'];?></td>
			<td><?php echo $smsSubjectsHa['total'];?></td>
			<td><?php echo $smsSubjectsHa['completed_day'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'sms_subjects_has_sms_grades', 'action' => 'view', $smsSubjectsHa['sms_subjects_id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'sms_subjects_has_sms_grades', 'action' => 'edit', $smsSubjectsHa['sms_subjects_id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'sms_subjects_has_sms_grades', 'action' => 'delete', $smsSubjectsHa['sms_subjects_id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $smsSubjectsHa['sms_subjects_id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Sms Subjects Ha', true), array('controller' => 'sms_subjects_has_sms_grades', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
